/** @format */

import axios from '@/utils/request';

// 标签登记， 档案登记
export function archivesRecord(data) {
  return axios.post('/rfid/recordBill/archivesRecord', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 标签登记， 档案盒登记
export function boxRecord(data) {
  return axios.post('/rfid/recordBill/boxRecord', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 登记库分页
export function pageList(params) {
  return axios.get('/rfid/recordBill/page', { params: params });
}

// 处理异常登记
export function handle(data) {
  return axios.post('/rfid/recordBillDetails/handle', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 查看处理结果
export function getHandleResult(detailsId) {
  return axios.get('/rfid/recordBillDetails/queryOne', { params: {detailsId: detailsId} });
}
